package edu.fiu.cis.personalize.server.graph.store;

import java.util.concurrent.atomic.AtomicInteger;

@SuppressWarnings("serial")
public class CountingConcMap extends NullConcMap<Integer, AtomicInteger>{
	@Override
	protected AtomicInteger createEmptyValue(Integer key) {
		return new AtomicInteger();
	}

	public int incrementCount(int id) {
		return get(id).incrementAndGet();
	}

}
